cmake_minimum_required(VERSION 3.22.0)

project(demo)

add_subdirectory(src)

include_directories(include)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

add_executable(hello src/main.cpp)

target_link_libraries(hello PUBLIC testlib)

target_include_directories(hello PUBLIC ${PROJECT_SOURCE_DIR}/src)